/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cxhd.pacs.handler;

import com.jfinal.handler.Handler;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author 52461
 */
public class MyBaseHandler extends Handler {

    @Override
    public void handle(String target, HttpServletRequest req, HttpServletResponse res, boolean[] isHandled) {
       target = target.replaceAll(";jsessionid=[a-zA-Z0-9_]*", "");
       System.out.println(target);
       
       nextHandler.handle(target, req, res, isHandled);
   
    }
    
}
